import {
  Column,
  Entity,
  PrimaryGeneratedColumn,
  UpdateDateColumn,
} from 'typeorm';

@Entity('company')
export class CompanyEntity {
  @PrimaryGeneratedColumn()
  id: number;
  @Column()
  company_code: string;
  @Column()
  boss_phone: string;

  @Column()
  wx_open_id: string;
  
  @UpdateDateColumn()
  vip_expire: Date;
}
